Skip to content

chore(ads): remove campaign tree, creatives, catalogs, Ad Library and Google keyword, asset and recommendation methods - #46

Merged
alihesari merged 5 commits into
mainfrom
chore/remove-ads-objects
Nov 23, 2026
Merged

alihesari merged 5 commits into
mainfrom
chore/remove-ads-objects

Conversation

@alihesari

Copy link
Copy Markdown
Member

What changed

Removes the SDK methods and models for the ads endpoints the API no longer serves.

  • Campaign tree and network objects: accountTree(), the campaign, ad set and network ad create/get/update/delete/duplicate methods, and AdAccountTree, AdCampaign, AdSet, NetworkAd.
  • Creatives: creatives(), createCreative(), creative(), deleteCreative() and AdCreative.
  • Product catalogs: catalogs, products, feeds, feed uploads and product sets, with their models.
  • Ad Library: library(), AdLibraryPage, AdLibraryEntry.
  • Google (ads()->google()): keywords, keyword ideas and metrics, search terms, negative keyword lists, assets, asset groups, recommendations and optimization score, with their Google* models.
  • README examples, CLAUDE.md and the Unreleased changelog entry updated to match.

Unchanged: boost, boostable, create() and the /ads/{id} methods, bulkSetStatus() (/ads/status), external ads, audiences, lead forms and leads, targeting, reach, insights, pixels, conversions, custom conversions, comments, connections, sources, providers, goals, reach and frequency, partnership, account settings, TikTok and LinkedIn methods, and Google bid strategies, ad schedule, Local Services leads, conversions and query(). Provider capabilities is a plain map, so no named flag needed removing.

Testing

  • composer test: 261 tests, 1311 assertions, OK
  • composer lint (phpcs): clean

Merge after fopost/fopost chore/ads-trim is deployed.

@alihesari
alihesari merged commit 9ff77b7 into main Nov 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant